Crate rstack

source ·
Expand description

Thread stack traces of remote processes.

rstack (named after Java’s jstack) uses ptrace to capture stack traces of the threads of a remote process. It currently only supports Linux, and requires that the /proc pseudo-filesystem be mounted and accessible. Multiple unwinding implementations are supported via Cargo features:

By default, the libunwind backend is used. You can switch to libdw via Cargo:

[dependencies]
rstack = { version = "0.1", features = ["dw"], default-features = false }

Structs

The error type returned by methods in this crate.
Information about a stack frame of a remote process.
Information about a remote process.
Information about the symbol corresponding to a stack frame.
Information about a thread of a remote process.
Options controlling the behavior of tracing.

Functions

A convenience wrapper over TraceOptions which returns a maximally verbose trace.

Type Definitions

The result type returned by methods in this crate.